package com.exrobot.module.rbt.framework.web.config;

import com.exrobot.framework.swagger.config.ExrobotSwaggerAutoConfiguration;
import org.springdoc.core.models.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * robot 模块的 web 组件的 Configuration
 *
 * @author wf
 */
@Configuration(proxyBeanMethods = false)
public class RobotWebConfiguration {

    /**
     * robot 模块的 API 分组
     */
    @Bean
    public GroupedOpenApi robotGroupedOpenApi() {
        return ExrobotSwaggerAutoConfiguration.buildGroupedOpenApi("robot");
    }


}
